<template>

</template>

<script>

export default {
  name: "Home",
  data() {
    return {
      user: localStorage.getItem("user") ? JSON.parse(localStorage.getItem("user")) : {}
    }
  },
  created() {
    let userName = JSON.parse(localStorage.getItem("user"))
    if(userName) {

    }else {
      this.$router.push("/login")
    }

  }
}
</script>
